<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>修改货品列表</title>
	<link rel="stylesheet" href="__STATIC__/Bootstrap/Css/bootstrap.min.css" />
	<link rel="stylesheet" href="__STATIC__/Admin/Css/common.css" />
	<script type="text/javascript" src='__STATIC__/Admin/Js/jquery-1.7.2.min.js'></script>
	<style type="text/css">
		body{
			margin-bottom: 100px;
		}
	</style>
</head>
<body>
	<div class="container-fluid">
	<div class="row-fluid">
	<div class="span12">

	
	<form action="{|U:'GoodsList/edit'}" method='post'>
	
		<table class='table table-bordered table-hover'>
			<tr>
				<th>货品ID</th>

				<foreach from="$specAll" key="$k" value="$v">
					<th>{$v.taname}</th>
				</foreach>

				<th>库存</th>
				<th>货号</th>
			</tr>
			<foreach from="$oldData" key="$k" value="$v">
					<tr class="info">
						<td>{$v.glid}</td>
						<foreach from="$v.com" key="$kk" value="$vv">
							<td>{$vv}</td>
						</foreach>
						<td><input type="text" name="inventory" value="{$v.inventory}"/></td>
						<td><input type="text" name="number" value="{$v['number']}" disabled="" /></td>
					</tr>
			</foreach>
		
		</table>
		<input type="hidden" name='glid' value='{$hd.get.glid}'/>
		<input type="submit" value='确认修改' class="btn btn-primary"/>
	</form>
	

	</div>
	</div>
	</div>


</body>
</html>